package com.cyf.smartCity.service;

import com.cyf.smartCity.bean.*;

public interface CenterService {

    /**
     * 获取当前通道车的信息
     *
     * @param req
     * @return
     */
    WechatParkGetDeviceCurCarInfoRsp getDeviceCurCarInfo(WechatParkGetDeviceCurCarInfoReq req);

    /**
     * 打开道闸
     *
     * @param req
     * @return
     */
    ApiOpenBarrierRsp openBarrier(ApiOpenBarrierReq req);

    /**
     * 关闭道闸
     *
     * @param req
     * @return
     */
    ApiCloseBarrierRsp closeBarrier(ApiCloseBarrierReq req);

    /**
     * 获取通道列表
     * @param req
     * @return
     */
    WechatParkListDeviceRsp listDevice(WechatParkBasicReq req);
}
